package vista;

import java.awt.Color;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import controlador.Controlador;
import modelo.dao.DAO;

public class PanelComentario extends JPanel {

	private DAO dao;
	private Controlador controlador;
	private JPanel actual;
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public PanelComentario(DAO d, Controlador c) {
		setBackground(Color.GRAY);
		setLayout(null);
		setSize(423,250);
		this.dao = d;
		this.controlador = c;
		this.actual = this;
		
		JButton btnAceptar = new JButton("Aceptar");
		btnAceptar.setBounds(49, 187, 100, 23);
		add(btnAceptar);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(277, 187, 100, 23);
		add(btnCancelar);
		
		JLabel lblComentario = new JLabel("Comentario:");
		lblComentario.setBounds(49, 48, 73, 14);
		add(lblComentario);
		
		textField = new JTextField();
		textField.setBounds(132, 45, 245, 20);
		add(textField);
		textField.setColumns(10);

	}

}
